package com.ws.dz.user;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import static com.ws.dz.api.comm.Const.*;

@EnableDubbo
@MapperScan(basePackages = DAO)
@SpringBootApplication(scanBasePackages = {USER,DAO})
@EnableTransactionManagement(proxyTargetClass = true)
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}
}
